package com.xyzisme76.pojo;

public class User {
    private int uid;
    private int id;
    private String name;
    private String pwd;

    public User(int uid, String name,String pwd,int id) {
        this.uid=uid;
        this.id = id;
        this.name = name;
        this.pwd = pwd;
    }

    public User(int id, String name, String pwd) {
        this.id = id;
        this.name = name;
        this.pwd = pwd;
    }

    public int getUid() { return uid; }
    public void setUid(int id) { this.uid = id; }

    public int getId() { return id; }

    public void setId(int id) { this.id = id; }

    public String getName() { return name; }

    public void setName(String name) { this.name = name; }

    public String getPwd() { return pwd; }

    public void setPwd(String pwd) { this.pwd = pwd; }

    @Override
    public String toString() {
        return "user{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", pwd='" + pwd + '\'' +
                '}';
    }
}

